#ifndef ARMY
#define ARMY

#define SELECT 1
#define MOVING 2
#define FIGHTED 4

#include "drawable.h"


class Army:public Drawable{
public :

	Army();
	virtual ~Army();


	int team;

	int number;
	int typeClass; //type of army
	int user;

	int attackDistance;
	int attackPower;

	void move();
	virtual void update();

	void setTarget( Army * army );
	void setDestination( float x, float y );
	void setFighted( bool b );
	bool getFighted();
	bool getSelected();
	void setSelected(bool b);
	bool getMoving();
	void setMoving(bool b);
	void clear();

private:
	void fight();
	void clearFight();
	void clearMove();
};

#endif
